package com.olddriver.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Getter
@Setter
public class Claims {
    private Long id;

    private Integer state;  //注意:报案单状态值= 3 , 表示保单有效,验证通过

    private String reporterName; //报案人姓名

    private String gender;//性别

    private String telNumber;

    //设置时间格式
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date accidentTime;

    private String accidentAddress;

    private String accidentDescription;

    private String insuranceNum;

    private String carNumber;

    //private PaidList sn; //保单号  关联存在订单的表, 涉资一个外键

    private String remark;  //备注



}